﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using CashFlow.Admin.Def;
using CashFlow.Db.Entity;

namespace CashFlow.Admin.Service
{
    public interface IOrderService : IService<OrderEntity>
    {
        IList<OrderAndUserInfo> QueryAllChildUsersOrder(string date);

        IList<OrderAndUserInfo> QueryAllChildUsersOrder(int userId
            , string date);

        IList<OrderBuySellInfo> QueryShopAllUsersOrder(int userId
            , string orderNo
            , string date
            , int? state
            , string buyer
            , string seller);

        IList<OrderBuySellInfo> QueryOrders(int userId, string date);

        IList<OrderBuySellInfo> QueryOrders(string date);

        IList<OrderEntity> QueryAllOrders(string date);
    }
}
